package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;

/**
 * @author 千峰教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface DtsCategoryService {
    List<Integer> findCategoryId(Integer cateId);

    List<CatVo> findCategoryList();

    boolean isExists(Integer categoryId);

    IPage<DtsCategory> queryPage(Integer page, Integer limit, Integer id, String name, String sort, String order);

    List<CatVo> findCategoryL1();

    Object update(DtsCategory category);

    Object insert(DtsCategory category);

    Object delete(DtsCategory category);
}
